package itsm.isperp.module.controller.app;

import itsm.isperp.module.entity.app.AppSystemHelp;
import itsm.isperp.module.service.app.AppSystemHelpService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 系统控制器（初次进入系统）
 * 
 * @author lizx
 * @date 2013-1-7
 * @version V1.0
 */
@Controller
@RequestMapping("app/help")
public class AppHelpController {

	@Autowired
	AppSystemHelpService appSystemHelpService;

	@RequestMapping(value = "chrome-frame")
	public ModelAndView chromeFrame() {
		ModelAndView mv = new ModelAndView("app/help/chrome-frame");
		AppSystemHelp help = appSystemHelpService.getByCode("browser");
		mv.addObject("bean", help);
		return mv;

	}

}
